//**********模型版本字段信息***********/;
import request from '@/utils/request.js';

/**
 * 列表
 * @doc http://hanma-lesscode.hc-iiot.com/swagger-ui.html#!/
 * params 参数 
 * publishId:'', //publishId 必填
 * @returns
 * ********
 */
export function getHmpublishedentitymodelList(params={}, config={}){
  return request({
    method: 'get',
    params,
    url: `/api/hm-published-entity-model/list`,
    ...config,
  }) 
}

/**
 * 下移
 * @doc http://hanma-lesscode.hc-iiot.com/swagger-ui.html#!/
 * data 参数 
 *  id:'', // 	类型:integer 非必填
 *  publishId:'', // 	类型:integer 非必填
 * @returns
 * ********
 */
export function putHmpublishedentitymodelMovedown(data={}, config={}){
  return request({
    method: 'put',
    data,
    url: `/api/hm-published-entity-model/move-down`,
    ...config,
  }) 
}

/**
 * 上移
 * @doc http://hanma-lesscode.hc-iiot.com/swagger-ui.html#!/
 * data 参数 
 *  id:'', // 	类型:integer 非必填
 *  publishId:'', // 	类型:integer 非必填
 * @returns
 * ********
 */
export function putHmpublishedentitymodelMoveup(data={}, config={}){
  return request({
    method: 'put',
    data,
    url: `/api/hm-published-entity-model/move-up`,
    ...config,
  }) 
}

/**
 * 分页列表
 * @doc http://hanma-lesscode.hc-iiot.com/swagger-ui.html#!/
 * params 参数 
 * publishId:'', //发布ID 非必填
 * modelId:'', //模型ID 非必填
 * hiddenSystemField:'', //是否隐藏系统字段 非必填
 * searchKey:'', //关键字，名称或编码 非必填
 * pageNo:'', //页码 非必填
 * pageSize:'', //每页数据条数 非必填
 * @returns
 * ********
 */
export function getHmpublishedentitymodelPageList(params={}, config={}){
  return request({
    method: 'get',
    params,
    url: `/api/hm-published-entity-model/page/list`,
    ...config,
  }) 
}